#! /bin/bash

# docker build . -t registry.cn-chengdu.aliyuncs.com/geniuscirno/projectb/uploader:latest
# docker push registry.cn-chengdu.aliyuncs.com/geniuscirno/projectb/uploader:latest

ssh app-jiesenyule-com "cd /apps/uploader &&  git pull && docker-compose build && docker-compose up -d && sleep 3 && docker-compose ps"